package com.itlaobing.instance;

import java.io.IOException;

import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

public class MonkeyServlet extends GenericServlet {

	private static final long serialVersionUID = 8314902605691500235L;

	@Override
	public void service(ServletRequest req, ServletResponse resp) throws ServletException, IOException {
		
		this.log( this.toString() ); //System.out.println( this.toString() );
		
		String servletName = this.getServletName(); // web.xml : <servlet-name>
		this.log( "【" + servletName + "】" ); // System.out.println( "【" + servletName + "】" );
		
	}
	
}
